package com.glut.forum.service;

import com.qiniu.common.QiniuException;

import java.io.File;
import java.io.InputStream;

/**
 * @author milo
 * @since 2021/9/2 下午8:04
 * @version 1.0
 */
public interface QnUploadService {
    public String uploadFile(File file, String fileName) throws QiniuException;
    public String uploadFile(InputStream inputStream, String fileName) throws QiniuException;
    public String delete(String key) throws QiniuException;
    public void afterPropertiesSet() throws Exception;
}
